package com.example.demo;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@AllArgsConstructor
@Data
@NoArgsConstructor
@Builder

//@Document(collation = "person")
@Document(collection   = "person")
public class Person{
	@Id
	private Long id;
	private String name;
	private Integer age;
	
	
	
}
